
# This is a proof-of-bug makefile

ORACLE_INCLUDES=$(ORACLE_HOME)/rdbms/demo -I$(ORACLE_HOME)/network/public \
	-I$(ORACLE_HOME)/plsql/public -I$(ORACLE_HOME)/rdbms/public -DORACLE8i

ORACLE_L=-lclntsh 

ORACLE_LIBS=$(ORACLE_HOME)/lib/ $(ORACLE_L) -Wl,-rpath,$(ORACLE_HOME)/lib 
	
TARGETS=refcur refcursimple mhaggerty

ALL: $(TARGETS)

.c: 
	$(CC) $(CFLAGS) $(LDFLAGS) -I$(ORACLE_INCLUDES) -L$(ORACLE_LIBS) -o $@ $<


clean:
	rm -f $(TARGETS)
